package com.cqw.robot;

import com.cqw.robot.core.MyApplication;
import lombok.extern.slf4j.Slf4j;

import java.awt.*;

/**
 *
 * 37,220初始窗体坐标目标位置
 */
@Slf4j
public class RobotMain {

    public static void main(String[] args) throws Exception {
        final Robot robot = new Robot();
        Thread myAppThread = new Thread() {
            @Override
            public void run() {
                try{
                    log.info("执行脚本...");
                    MyApplication.oper(robot);
                    log.info("执行脚本...end!");
                }catch (Exception e){
                    log.error(e.toString(),e);
                }
            }
        };
        myAppThread.start();
    }

}
